<!--
 * @Descripttion: 
 * @Version: 
 * @Author: gaohj
 * @Date: 2022-12-26 17:41:05
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-12-26 17:45:24
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>带边框的99乘法口诀表</title>
</head>
<body>
    <table>
        <tr>
            <td></td>
        </tr>
    </table>
    <script>

        // 九九乘法口诀表
        document.write('<table border="1" width="800" align="center">');
        for(var i=1;i<=9;i++){ // 行数 
            document.write('<tr>');
            for(var j=1;j<=i;j++){ // 列数  小于等于行数
                document.write('<td>'+j+'*'+i+'='+i*j+'&emsp;'+'</td>');
            }
            document.write('<br />');
            document.write('</tr>');
        }
        document.write('</table>');

    </script>
</body>
</html>